import logging

from pylons import request, response, session, tmpl_context as c, url
from pylons.controllers.util import abort, redirect
from portal import model
from portal.lib.base import BaseController, render

log = logging.getLogger(__name__)

class EcoleController(BaseController):

    def index(self, page):
        q = model.Session.query(model.Page).filter(model.Page.name == page)
        c.page = q.first()
        return render('/ecole/ecole.mako')
    
    
    
